<!DOCTYPE html>
<html lang="zh">

<head>
    <title>新建项目</title>
    <link id="theme" rel="stylesheet" type="text/css" href="../css/light.css">
    <link rel="stylesheet" type="text/css" href="../css/fonts.css">
</head>

<body class="dialogBody" onload="new AddProject();">
    <table class="fill_width">
        <tr>
            <td class="middle">
                <label for="nameInput">项目名称</label>
            </td>
            <td class="fill_width middle">
                <input type="text" id="nameInput" class="table_input">
            </td>
        </tr>
    </table>

    <table>
        <tr>
            <td style="width:50%; padding:0;">
                <table class="fill_width">
                    <tr style="height: 2.5em;">
                        <td class="middle noWrap">
                            <label for="srcLangSelect">源语言</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <select id="srcLangSelect" class="fill_width">
        
                            </select>
                        </td>
                    </tr>
                    <tr style="height: 2.5em;">
                        <td class="middle noWrap">
                            <label for="tgtLangSelect">目标语言</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <select id="tgtLangSelect" class="fill_width">
        
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td class=" noWrap">
                            <label for="memorySelect">默认记忆库</label>
                        </td>
                        <td class="fill_width ">
                            <select id="memorySelect" class="fill_width">

                            </select>
                            <input type="checkbox" id="applyTM" class="middle">
                            <label for="applyTM" class="middle">应用翻译记忆库</label>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width:50%; padding:0;">
                <table class="fill_width">
                    <tr style="height: 2.5em;">
                        <td class="middle">
                            <label for="subjectInput">主题</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <input list="subjects" id="subjectInput" class="table_input middle" >
                            <datalist id="subjects">
                                <option value="none">
                            </datalist>
                        </td>
                    </tr>
                    <tr style="height: 2.5em;">
                        <td class="middle">
                            <label for="clientInput">客户</label>
                        </td>
                        <td class="fill_width middle form_height">
                            <input list="clients" id="clientInput" class="table_input middle" >
                            <datalist id="clients">
                                <option value="none">
                            </datalist>
                        </td>
                    </tr>
                    <tr>
                        <td class=" noWrap">
                            <label for="glossarySelect">默认术语库</label>
                        </td>
                        <td class="fill_width" style="padding-right: 8px;">
                            <select id="glossarySelect" class="fill_width"  >

                            </select>
                            <input type="checkbox" id="searchTerms" class="middle">
                            <label for="searchTerms" class="middle">搜索术语</label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div class="bordered divContainer" style="height: 260px; width:calc(100% - 20px); margin-left: 10px;" id="tablePanel">
        <table class="stripes">
            <thead>
                <tr class="noWrap">
                    <th style="min-width: 20px;">&nbsp;</th>
                    <th class="fill_width" style="text-align: left; max-width: 400px;">文件名</th>
                    <th style="min-width: 200px;">文件类型</th>
                    <th style="min-width: 150px;">字符集</th>
                </tr>
            </thead>
            <tbody id="tableBody">
                <tr></tr>
            </tbody>
        </table>
    </div>

    <div class="buttonArea">
        <button id="addFilesButton">添加文件</button>
        <span class="fill_width">&nbsp;</span>
        <button id="addProjectButton">创建项目</button>
    </div>
    
    <script src="../js/addProject.js"></script>
</body>

</html>